package com.woniuxy.yoga.user.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("用户登录参数对象")
public class LoginByPassForm {

    @ApiModelProperty("账号名或手机号")
    @NotNull
    private String account;

    @ApiModelProperty("账号密码")
    @NotNull
    private String userPass;
}
